package com.j283_5.wisdom_park.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.j283_5.wisdom_park.pojo.Roleinfo;
import com.j283_5.wisdom_park.vo.confcenter_management.RoleinfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
@Mapper
public interface RoleinfoMapper extends BaseMapper<Roleinfo> {


    /**
     * 查询总条数
     * @param map
     * @return
     */

    Integer countRoles(@Param("map") Map map);

    /**
     * 分页查询角色信息
     * @param map
     * @return
     */
    List<RoleinfoVo> page(@Param("map") Map map);
}
